package com.zx.platform.dao;

import java.util.List;

import org.springframework.dao.DataAccessException;

import com.zx.platform.dao.model.Directory;
import com.zx.platform.dao.model.DirectoryExample;

public interface DirectoryDao {

    public String addDirectory(Directory Directory) throws DataAccessException;

    public void updateDirectory(Directory Directory) throws DataAccessException;

    public List<Directory> getDirectory(int pageSize, int pageBegin, DirectoryExample example) throws DataAccessException;

    public void deleteDirectory(Directory Directory) throws DataAccessException;

    public int countDirectory(DirectoryExample example) throws DataAccessException;

    public Directory getDirectory(DirectoryExample example) throws DataAccessException;

    public List<Directory> getDirectoryList(DirectoryExample example) throws DataAccessException;
    
    public Directory getModelById(Integer dirId) throws DataAccessException;

}